from zhipuai import ZhipuAI

import json

api_key = "4956db3da95d43eab77efa6937882679.Xm27NhBWZPJE3ORb"
client = ZhipuAI(api_key=api_key)

with open(r"F:\ai\03大模型开发实战\08 低代码智能开发平台案例实践\error_function_test\get_latest_email.py", "r", encoding="utf8") as f:
    msg = json.load(f)

wrong_code = msg["stage2"][1]["content"]
print(wrong_code)